package cn.csust.net2.manager.shared.service;

import java.util.List;

import cn.csust.net2.manager.shared.exception.BeyondAuthorityException;
import cn.csust.net2.manager.shared.po.Academy;
import cn.csust.net2.manager.shared.po.FileLoadNotification;
import cn.csust.net2.manager.shared.po.FileNotification;
import cn.csust.net2.manager.shared.util.ServiceConstant;

import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath(value = ServiceConstant.MANAGER+ServiceConstant.SERVICE_NAME_FILENOTIC)
public interface FileNoticService extends  BaseService{
	List<Academy> findAllAcademy();
	Integer saveFileNotification(FileNotification f,List<Integer> ids) throws BeyondAuthorityException;
	String getFileAcademyHtmlInfo(Integer fileNotificationId);
	Integer saveUpLoadFileNotic(String name,String url,String id);
	FileNotification findFileNotificationByID(String id);
	FileLoadNotification findFileLoadNotificationByID(String id);
	boolean isSchool();
}
